import request from 'utils/request'

class homeService {
    
    zixitongyichang () {
        return request({
            url: 'api/tunnel/facility/eachFaultCount',
            method: 'post'
        })
    }

    /**
     * 
     * @param {*} params 
     * mounth 12
     */
    yichangtrend(params){
        return request({
            url: 'api/tunnel/facility/faultTrend',
            method: 'post',
            params: params
        })
    }

    /**
     * /api/tunnel/carFlow/dayChart?access_token=f898592d-e50d-4ebe-90a2-ddf19eabef4b
     */
    dayChart(){
        return request({
            url: '/api/tunnel/carFlow/dayChart',
            method: 'post',
        })
    }
}


export default new homeService()